package cate.game.role.pvp.pointrace.msg;

import cate.game.GameBody;
import cate.game.client.ClientContext;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgInput;
import cate.game.client.msg.id.MsgIdBPointRace;

@ClientMsg(title = "大师风采 请求")
public class PointRaceRecordReq implements MsgInput {

    @Override
    public MsgConfig conf() {
        return MsgIdBPointRace.RECORD_REQ;
    }

    @Override
    public void execute(GameBody game, ClientContext cc) {
        cc.sendNow(new PointRaceRecordResp(cc.getRole().getGame().pvp.pointRace.getDataManager().getData().records));
    }
}
